package org.fuys.etp.core.model.res;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @projectName: fuys-etp-final
 * @package: org.fuys.etp.core.model.res
 * @className: TpStrategyChangeRes
 * @author: WangJing
 * @description: TODO
 * @date: 2025/2/10 21:56
 * @version: 1.0
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TpStrategyChangeRes {
    private String changeType;
    private String oldStrategy;
    private String newStrategy;
    private Boolean success;
    private String extInfo;

    private static TpStrategyChangeRes ok;

    static{
        ok = TpStrategyChangeRes.builder()
                .success(true)
                .build();
    }

    public static TpStrategyChangeRes ok(){
        return ok;
    }
}
